<?php
	use admin\assets\AppAsset;
	AppAsset::addJs($this,'/static/js/user/list.js');
?>

<div class="container">
	<div class="content-search">
		<form class="layui-form layui-form-pane" action="">
			<div class="layui-inline">
                <label class="layui-form-label">关键字搜索</label>
                <div class="layui-input-inline">
                    <input style="width:300px;" class="layui-input" placeholder="用户ID、交易商编号、客户姓名" id="keyword">
                </div>
			</div>
            <div class="layui-inline">
                <label class="layui-form-label">推荐人</label>
                <div class="layui-input-inline">
<!--                    <input style="width:200px;" class="layui-input" placeholder="推荐人ID" id="int_id">-->
                    <select name="int_id" id="int_id" class="layui-select" lay-search>
                        <option value="">--请选择--</option>
                        <?php foreach($user_list as $val): ?>
                        <option value="<?php echo $val['id']; ?>"><?php echo $val['id'].'-'.$val['name']; ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
                
            </div>
			<div class="layui-inline">
				<label class="layui-form-label">开始时间</label>
				<div class="layui-input-inline">
					<input class="layui-input layui-date" placeholder="开始时间" id="start">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">截止时间</label>
				<div class="layui-input-inline">
					<input class="layui-input layui-date" placeholder="结束时间" id="end">
				</div>
			</div>
			<div class="layui-inline">
				<button class="layui-btn" type="button" data-type="reload">搜索</button>
                <button class="layui-btn" type="button" data-type="export">导出excel</button>
			</div>
		</form>
	</div>
	<table class="layui-hide" id="user" lay-filter="user"></table>
</div>

<script type="text/html" id="barDemo">
	<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">编辑用户</a>
<!--	<a class="layui-btn layui-btn-xs" lay-event="edit" style="color:#fff">编辑</a>-->
</script>
